﻿<MStepper Value="_step" Vertical>
    <MStepperStep Step="1" Complete="_step>1">
        Select an app
        <small>Summarize if needed</small>
    </MStepperStep>
    <MStepperContent Step="1">
        <MCard Class="mb-12" Height="200" Color="grey lighten-1"></MCard>
        <MButton Color="primary" OnClick="()=>_step=2">Continue</MButton>
        <MButton Text>Cancel</MButton>
    </MStepperContent>
    <MStepperStep Step="2" Complete="_step>2">
        Configure analytics for this app
    </MStepperStep>
    <MStepperContent Step="2">
        <MCard Class="mb-12" Height="200" Color="grey lighten-1"></MCard>
        <MButton Color="primary" OnClick="()=>_step=3">Continue</MButton>
        <MButton Text>Cancel</MButton>
    </MStepperContent>
    <MStepperStep Step="3" Complete="_step>3">
        Select an ad format and name ad unit
    </MStepperStep>
    <MStepperContent Step="3">
        <MCard Class="mb-12" Height="200" Color="grey lighten-1"></MCard>
        <MButton Color="primary" OnClick="()=>_step=4">Continue</MButton>
        <MButton Text>Cancel</MButton>
    </MStepperContent>
    <MStepperStep Step="4">
        View setup instructions
    </MStepperStep>
    <MStepperContent Step="4">
        <MCard Class="mb-12" Height="200" Color="grey lighten-1"></MCard>
        <MButton Color="primary" OnClick="()=>_step=1">Continue</MButton>
        <MButton Text>Cancel</MButton>
    </MStepperContent>
</MStepper>

@code {
    private int _step = 1;
}